<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<g:if  test="${session.user.role == 'Admin'}">
					<li><g:link class="list" controller= "admin" action="index"><g:message code="Admin" args="[entityName]" /></g:link></li>
				</g:if>
				<g:elseif  test="${session.user.role == 'Manager'}">
					<li><g:link class="list" controller= "manager" action="index"><g:message code="Manager" args="[entityName]" /></g:link></li>
				</g:elseif>
				<g:elseif  test="${session.user.role == 'User'}">
					<li><g:link class="list" controller= "userPage" action="index"><g:message code="User Page" args="[entityName]" /></g:link></li>
				</g:elseif>
				
				<g:if  test="${session.user == null}">
				
				<li><g:link class="login" controller= "user" action="login"><g:message code="Login" args="[entityName]" /></g:link></li>
				</g:if> 
				
				<g:else>	
				<li><g:link class="login" controller= "user" action="logout"><g:message code="Logout" args="[entityName]" /></g:link></li>				</g:else>
			</ul>
		</div>